﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsPhieuChuyenKho" targetNamespace="http://tempuri.org/DsPhieuChuyenKho.xsd" xmlns:mstns="http://tempuri.org/DsPhieuChuyenKho.xsd" xmlns="http://tempuri.org/DsPhieuChuyenKho.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SieuThiSachConnectionString2" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SieuThiSachConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.SieuThiSachConnectionString2" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString2 (Settings)" DbObjectName="SieuThiSach.dbo.Select_ThongTinDoanhNghiep" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ChiTietPhieuChuyenKhoTableAdapter" GeneratorDataComponentClassName="ChiTietPhieuChuyenKhoTableAdapter" Name="ChiTietPhieuChuyenKho" UserDataComponentName="ChiTietPhieuChuyenKhoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString2 (Settings)" DbObjectName="SieuThiSach.dbo.Select_ChiTietPhieuChuyenKho" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ChiTietPhieuChuyenKho</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ChungTuID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="So" DataSetColumn="So" />
              <Mapping SourceColumn="Ngay" DataSetColumn="Ngay" />
              <Mapping SourceColumn="NguoiThucHien" DataSetColumn="NguoiThucHien" />
              <Mapping SourceColumn="TenKhoXuat" DataSetColumn="TenKhoXuat" />
              <Mapping SourceColumn="TenKhoNhap" DataSetColumn="TenKhoNhap" />
              <Mapping SourceColumn="TaiKhoanNo" DataSetColumn="TaiKhoanNo" />
              <Mapping SourceColumn="TaiKhoanCo" DataSetColumn="TaiKhoanCo" />
              <Mapping SourceColumn="SoTienNT" DataSetColumn="SoTienNT" />
              <Mapping SourceColumn="TongSoTienBangChu" DataSetColumn="TongSoTienBangChu" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KhoanMucPhieuChuyenKho_CTSHNTableAdapter" GeneratorDataComponentClassName="KhoanMucPhieuChuyenKho_CTSHNTableAdapter" Name="KhoanMucPhieuChuyenKho_CTSHN" UserDataComponentName="KhoanMucPhieuChuyenKho_CTSHNTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString2 (Settings)" DbObjectName="SieuThiSach.dbo.Select_KhoanMucPhieuChuyenKho_CTSHN" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_KhoanMucPhieuChuyenKho_CTSHN</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ChungTuID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="MaVTHH" DataSetColumn="MaVTHH" />
              <Mapping SourceColumn="TenVTHH" DataSetColumn="TenVTHH" />
              <Mapping SourceColumn="DonViTinh" DataSetColumn="DonViTinh" />
              <Mapping SourceColumn="SoLuong" DataSetColumn="SoLuong" />
              <Mapping SourceColumn="DonGiaQD" DataSetColumn="DonGiaQD" />
              <Mapping SourceColumn="ThanhTienQD" DataSetColumn="ThanhTienQD" />
              <Mapping SourceColumn="DonGiaBia" DataSetColumn="DonGiaBia" />
              <Mapping SourceColumn="ThanhTienTheoGiaBia" DataSetColumn="ThanhTienTheoGiaBia" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsPhieuChuyenKho" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DsPhieuChuyenKho" msprop:Generator_UserDSName="DsPhieuChuyenKho" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TablePropName="ThongTinDoanhNghiep" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ChiTietPhieuChuyenKho" msprop:Generator_UserTableName="ChiTietPhieuChuyenKho" msprop:Generator_RowDeletedName="ChiTietPhieuChuyenKhoRowDeleted" msprop:Generator_TableClassName="ChiTietPhieuChuyenKhoDataTable" msprop:Generator_RowChangedName="ChiTietPhieuChuyenKhoRowChanged" msprop:Generator_RowClassName="ChiTietPhieuChuyenKhoRow" msprop:Generator_RowChangingName="ChiTietPhieuChuyenKhoRowChanging" msprop:Generator_RowEvArgName="ChiTietPhieuChuyenKhoRowChangeEvent" msprop:Generator_RowEvHandlerName="ChiTietPhieuChuyenKhoRowChangeEventHandler" msprop:Generator_TablePropName="ChiTietPhieuChuyenKho" msprop:Generator_TableVarName="tableChiTietPhieuChuyenKho" msprop:Generator_RowDeletingName="ChiTietPhieuChuyenKhoRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="So" msprop:Generator_UserColumnName="So" msprop:Generator_ColumnPropNameInRow="So" msprop:Generator_ColumnVarNameInTable="columnSo" msprop:Generator_ColumnPropNameInTable="SoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ngay" msprop:Generator_UserColumnName="Ngay" msprop:Generator_ColumnPropNameInRow="Ngay" msprop:Generator_ColumnVarNameInTable="columnNgay" msprop:Generator_ColumnPropNameInTable="NgayColumn" type="xs:dateTime" />
              <xs:element name="NguoiThucHien" msprop:Generator_UserColumnName="NguoiThucHien" msprop:Generator_ColumnPropNameInRow="NguoiThucHien" msprop:Generator_ColumnVarNameInTable="columnNguoiThucHien" msprop:Generator_ColumnPropNameInTable="NguoiThucHienColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenKhoXuat" msprop:Generator_UserColumnName="TenKhoXuat" msprop:Generator_ColumnPropNameInRow="TenKhoXuat" msprop:Generator_ColumnVarNameInTable="columnTenKhoXuat" msprop:Generator_ColumnPropNameInTable="TenKhoXuatColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenKhoNhap" msprop:Generator_UserColumnName="TenKhoNhap" msprop:Generator_ColumnPropNameInRow="TenKhoNhap" msprop:Generator_ColumnVarNameInTable="columnTenKhoNhap" msprop:Generator_ColumnPropNameInTable="TenKhoNhapColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaiKhoanNo" msprop:Generator_UserColumnName="TaiKhoanNo" msprop:Generator_ColumnPropNameInRow="TaiKhoanNo" msprop:Generator_ColumnVarNameInTable="columnTaiKhoanNo" msprop:Generator_ColumnPropNameInTable="TaiKhoanNoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaiKhoanCo" msprop:Generator_UserColumnName="TaiKhoanCo" msprop:Generator_ColumnPropNameInRow="TaiKhoanCo" msprop:Generator_ColumnVarNameInTable="columnTaiKhoanCo" msprop:Generator_ColumnPropNameInTable="TaiKhoanCoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SoTienNT" msprop:Generator_UserColumnName="SoTienNT" msprop:Generator_ColumnPropNameInRow="SoTienNT" msprop:Generator_ColumnVarNameInTable="columnSoTienNT" msprop:Generator_ColumnPropNameInTable="SoTienNTColumn" type="xs:decimal" />
              <xs:element name="TongSoTienBangChu" msprop:Generator_UserColumnName="TongSoTienBangChu" msprop:Generator_ColumnPropNameInRow="TongSoTienBangChu" msprop:Generator_ColumnVarNameInTable="columnTongSoTienBangChu" msprop:Generator_ColumnPropNameInTable="TongSoTienBangChuColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KhoanMucPhieuChuyenKho_CTSHN" msprop:Generator_UserTableName="KhoanMucPhieuChuyenKho_CTSHN" msprop:Generator_RowDeletedName="KhoanMucPhieuChuyenKho_CTSHNRowDeleted" msprop:Generator_TableClassName="KhoanMucPhieuChuyenKho_CTSHNDataTable" msprop:Generator_RowChangedName="KhoanMucPhieuChuyenKho_CTSHNRowChanged" msprop:Generator_RowClassName="KhoanMucPhieuChuyenKho_CTSHNRow" msprop:Generator_RowChangingName="KhoanMucPhieuChuyenKho_CTSHNRowChanging" msprop:Generator_RowEvArgName="KhoanMucPhieuChuyenKho_CTSHNRowChangeEvent" msprop:Generator_RowEvHandlerName="KhoanMucPhieuChuyenKho_CTSHNRowChangeEventHandler" msprop:Generator_TablePropName="KhoanMucPhieuChuyenKho_CTSHN" msprop:Generator_TableVarName="tableKhoanMucPhieuChuyenKho_CTSHN" msprop:Generator_RowDeletingName="KhoanMucPhieuChuyenKho_CTSHNRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MaVTHH" msprop:Generator_UserColumnName="MaVTHH" msprop:Generator_ColumnPropNameInRow="MaVTHH" msprop:Generator_ColumnVarNameInTable="columnMaVTHH" msprop:Generator_ColumnPropNameInTable="MaVTHHColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenVTHH" msprop:Generator_UserColumnName="TenVTHH" msprop:Generator_ColumnPropNameInRow="TenVTHH" msprop:Generator_ColumnVarNameInTable="columnTenVTHH" msprop:Generator_ColumnPropNameInTable="TenVTHHColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DonViTinh" msprop:Generator_UserColumnName="DonViTinh" msprop:Generator_ColumnPropNameInRow="DonViTinh" msprop:Generator_ColumnVarNameInTable="columnDonViTinh" msprop:Generator_ColumnPropNameInTable="DonViTinhColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SoLuong" msprop:Generator_UserColumnName="SoLuong" msprop:Generator_ColumnPropNameInRow="SoLuong" msprop:Generator_ColumnVarNameInTable="columnSoLuong" msprop:Generator_ColumnPropNameInTable="SoLuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="DonGiaQD" msprop:Generator_UserColumnName="DonGiaQD" msprop:Generator_ColumnPropNameInRow="DonGiaQD" msprop:Generator_ColumnVarNameInTable="columnDonGiaQD" msprop:Generator_ColumnPropNameInTable="DonGiaQDColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThanhTienQD" msprop:Generator_UserColumnName="ThanhTienQD" msprop:Generator_ColumnPropNameInRow="ThanhTienQD" msprop:Generator_ColumnVarNameInTable="columnThanhTienQD" msprop:Generator_ColumnPropNameInTable="ThanhTienQDColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="DonGiaBia" msprop:Generator_UserColumnName="DonGiaBia" msprop:Generator_ColumnPropNameInRow="DonGiaBia" msprop:Generator_ColumnVarNameInTable="columnDonGiaBia" msprop:Generator_ColumnPropNameInTable="DonGiaBiaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThanhTienTheoGiaBia" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ThanhTienTheoGiaBia" msprop:Generator_ColumnPropNameInRow="ThanhTienTheoGiaBia" msprop:Generator_ColumnVarNameInTable="columnThanhTienTheoGiaBia" msprop:Generator_ColumnPropNameInTable="ThanhTienTheoGiaBiaColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>